import instance from './config';

// 登录接口
export const login = (data) => {
    return instance.post('/User/login', data);
};
// 注册接口
export const register = (data) => {
    return instance.post('/User/register', data);
};

